package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 收付款信息数据对象 a_08_payment_receipt
 *
 * @author WorrilessGo
 * @date 2025-11-22
 */
public class A08PaymentReceipt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目ID */
    @Excel(name = "项目ID")
    private String projectId;

    /** 项目编码 */
    @Excel(name = "项目编码")
    private String projectNumber;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** id */
    private String id;

    /** 款项名称 */
    @Excel(name = "款项名称")
    private String paymentName;

    /** 收款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;



    /** 支出金额 */
    @Excel(name = "金额")
    private Double amount;

//    /** 附件 */
//    @Excel(name = "附件")
//    private String attachment;

    /** 文件 */
    @Excel(name = "文件")
    private String file;

    /**类型*/
    @Excel(name = "类型")
    private String type;


    public void  setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getAmount() {
        return amount;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getDate() {
        return date;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setProjectId(String projectId)
    {
        this.projectId = projectId;
    }

    public String getProjectId()
    {
        return projectId;
    }

    public void setProjectNumber(String projectNumber)
    {
        this.projectNumber = projectNumber;
    }

    public String getProjectNumber()
    {
        return projectNumber;
    }

    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public void setPaymentName(String paymentName)
    {
        this.paymentName = paymentName;
    }

    public String getPaymentName()
    {
        return paymentName;
    }


//    public void setAttachment(String attachment)
//    {
//        this.attachment = attachment;
//    }
//
//    public String getAttachment()
//    {
//        return attachment;
//    }

    public void setFile(String file)
    {
        this.file = file;
    }

    public String getFile()
    {
        return file;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("projectId", getProjectId())
                .append("projectNumber", getProjectNumber())
                .append("projectName", getProjectName())
                .append("id", getId())
                .append("paymentName", getPaymentName())
//                .append("attachment", getAttachment())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("file", getFile())
                .toString();
    }
}
